package com.ruoyi.crm.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 客户服务单对象 service_customer
 *
 * @author ruoyi
 * @date 2021-08-30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ServiceCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 服务单编号 */
    @Excel(name = "服务单编号")
    private String serviceNo;

    /** 主题 */
    @Excel(name = "主题")
    private String theme;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 实际处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date delDate;

    /** 服务人员 */
    @Excel(name = "服务人员")
    private String servicePer;

    /** 服务方式 */
    @Excel(name = "服务方式")
    private String serviceType;

    /** 产品类别 */
    @Excel(name = "产品类别")
    private String productType;

    /** 故障类别 */
    @Excel(name = "故障类别")
    private String errorType;
    private String contractNo;
    private String productName;
    private String telName;
    private String severity;
    private String scNo;
    private String oppoName;
    private String excellentLevel;
    private String relatedObjects;
    private String creator;
    private String homeAddress;
    private String subHomeDate;
    private String assignedTimeLatest;
    private String updatePer;
    private String dealStatus;
    private String trafficExpense;
    private String chargeAccount;
    private String spendTime;
    private String location;
    private String question;
    private String description;
    private String resolvent;
    private String markInfo;
    private String enclosureInfo;
    private String customerSign;
    private String signAddress;
    private String serviceContractInfo;
    private String comInfo;
    private String serviceScore;
    private String satisfaction;
    private String resolutionRate;
    private String comment;



    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setServiceNo(String serviceNo)
    {
        this.serviceNo = serviceNo;
    }

    public String getServiceNo()
    {
        return serviceNo;
    }
    public void setTheme(String theme)
    {
        this.theme = theme;
    }

    public String getTheme()
    {
        return theme;
    }
    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }

    public String getCustomerName()
    {
        return customerName;
    }
    public void setDelDate(Date delDate)
    {
        this.delDate = delDate;
    }

    public Date getDelDate()
    {
        return delDate;
    }
    public void setServicePer(String servicePer)
    {
        this.servicePer = servicePer;
    }

    public String getServicePer()
    {
        return servicePer;
    }
    public void setServiceType(String serviceType)
    {
        this.serviceType = serviceType;
    }

    public String getServiceType()
    {
        return serviceType;
    }
    public void setProductType(String productType)
    {
        this.productType = productType;
    }

    public String getProductType()
    {
        return productType;
    }
    public void setErrorType(String errorType)
    {
        this.errorType = errorType;
    }

    public String getErrorType()
    {
        return errorType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("serviceNo", getServiceNo())
                .append("theme", getTheme())
                .append("customerName", getCustomerName())
                .append("delDate", getDelDate())
                .append("servicePer", getServicePer())
                .append("serviceType", getServiceType())
                .append("productType", getProductType())
                .append("errorType", getErrorType())
                .toString();
    }
}